<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<select name="abc" v-model="fruit">
				<option value="苹果">苹果</option>
				<option value="香蕉">香蕉</option>
				<option value="橘子">橘子</option>
				<option value="山竹">山竹</option>
				<option value="樱桃">樱桃</option>
				<option value="荔枝">荔枝</option>
			</select>
			<h2>您选择的是：{{fruit}}</h2>
			<select name="abc" v-model="fruits" multiple="multiple">
				<option value="苹果">苹果</option>
				<option value="香蕉">香蕉</option>
				<option value="橘子">橘子</option>
				<option value="山竹">山竹</option>
				<option value="樱桃">樱桃</option>
				<option value="荔枝">荔枝</option>
			</select>
			<h2>您选择的是：{{fruits}}</h2>
		</div>
	</body>
	<script type="text/javascript">
		const app = new Vue({
			el:'#app',
			data:{
				message:'你好',
				fruit:'苹果',
				fruits:[]
			}
		})
	</script>
</html>
